<!DOCTYPE html>
<html ng-app="myApp">
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
    <link rel="stylesheet" href="lib/AngularJS-1.4.1/css/angular-csp.css"/>
    <link rel="stylesheet" href="lib/bootstrap-3.3.5-dist/css/bootstrap.css"/>
    <link rel="stylesheet" href="stylesheets/style.css"/>
    <script src='lib/AngularJS-1.4.1/js/angular.js'></script>
    <script src='lib/angular-ui-router/release/angular-ui-router.js'></script>
    <script src='lib/jquery/jquery.js'></script>
    <script src='lib/bootstrap-3.3.5-dist/js/bootstrap.js'></script>
    <script src="http://cdn.staticfile.org/snap.svg/0.2.0/snap.svg-min.js"></script>
    <script src='lib/me-pageloading/me-pageloading.js'></script>
    <script src="lib/angularUtils-pagination/dirPagination.js"></script>
    <script src='javascripts/app.js'></script>
    <script src='javascripts/services.js'></script>
</head>
<body class="container-fluid">
<div ng-controller='HomeController'>
    <div class="index">
        <div class="login">
            <form name="form" novalidate="novalidate">
                <div class="form-group">
                    <label for="username" class="col-sm-2 control-label col-sm-offset-2">姓名</label>
                    <div class="col-sm-8">
                        <input type='text'  class="form-control" ng-model='user.name' ng-minlength='5' ng-maxlength='20' required id="username"/>
                    </div>
                    <label for="password" class="col-sm-2 control-label col-sm-offset-2">密码</label>
                    <div class="col-sm-8">
                        <input type='password' class="form-control" ng-model='user.password' ng-minlength='5' ng-maxlength='20' required id="password"/>
                        <input type='submit' value="确定" ng-click='submitFrom()'>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>